07. Exercise: Building Java Applications
Exercise: Building Java Applications
The starter code for this exercise includes a directory full of source code. This particular example contains a user validator and implements the strategy pattern. The main method for this project is in the UserValidatorExample.java
file.
For this exercise, you will need to use the javac
command to compile the source code into classes, and then you should use the jar
command to package the code into a single jar file. Make sure to use the -e
flag to specify an entry point into the JAR so that you can then use the java -jar
command to run the program.
Exercise: Building Java Applications
Task Feedback:
Great job!